package org.xw.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class WsMsgDTO {
    private String userId;
    private int chatId;
    private Msg msg;
    private String file;
    private int isQw;
    private String time;

    @Override
    public String toString() {
        return "{" +
                "userId:'" + userId + '\'' +
                ", chatId=" + chatId +
                ", msg=" + msg +
                ", file='" + file + '\'' +
                ", isQw=" + isQw +
                ", time='" + time + '\'' +
                '}';
    }
}
